package algorithm.sort;

public interface Sort {

    String name();

    void sort(Integer[] arr);

    default void swap(Integer[] arr, int i, int j) {
        int tmp = arr[j];
        arr[j] = arr[i];
        arr[i] = tmp;
    }
}
